// 详情页推荐列表组件
<template>
  <div class="detail-recommend-list">
    
    <detail-recommend-list-item
      v-for="item in goods"
      :key="item.index"
      :goodsItem="item"
    />
  </div>
</template>

<script>
import DetailRecommendListItem from "./DetailRecommendListItem.vue";

export default {
  components: { DetailRecommendListItem },
  name: "DetailRecommendList",
  data() {
    return {};
  },
  props: {
    goods: {
      type: Array,
      default() {
        return [];
      },
    },
  },
  methods: {},
};
</script>

<style scoped>
.detail-recommend-list {
  display: flex;
  flex-wrap: wrap;
  flex: 50%;
  justify-content: space-evenly;
}
</style>